package com.zhongan.gateway.common.enums;

import lombok.Getter;

/**
 * 类ResponseCodeEnum.java的实现描述：响应枚举
 * 
 * @author CHENQIMING 2016年7月4日 下午2:38:17
 */
public enum ResponseCodeEnum {

    SUCCESS("200", "成功"),
    SUCCESS_QUERY("201", "查询结果为空"),
    FAIL("100", "失败"),
    PARAM_FAIL("101", "参数不完整");


    private String code;

    private String msg;

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    ResponseCodeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
